package org.cttic.visualization.visualization.controller;

import org.cttic.visualization.visualization.z_service.onlineCountAllQuery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shkstart
 * @create 2020-05-27 9:37
 * 2.1.1高速在线车辆汇总统计查询
 */
@RestController
@RequestMapping(value ="/onlineCountAll")
@CrossOrigin
public class onlineCountAllQueryController {
    @Autowired
    private onlineCountAllQuery onlineCountAllQuery;
    @RequestMapping(value = "/CountQuery")
    public String onlineCountAllQueryInfo(@RequestBody String inputData){
        return onlineCountAllQuery.onlineCount(inputData);
    }
}
